package com.usc.blog.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.usc.blog.mapper.BlogDataMapper;
import com.usc.blog.pojo.BlogData;
import com.usc.blog.pojo.BlogDataExample;
import com.usc.blog.service.BlogDataService;

/**
 *
 * @版权: Copyright (c) 2blogDataMapper16-2blogDataMapper17 *********公司技术开发部
 * @author : huangjiapeng
 * @E-mail:1625545295@qq.com
 * @版本: 1.blogDataMapper
 * @创建日期: 2blogDataMapper19年4月16日 下午11:48:43
 * @ClassName BlogBlogDataServiceImpl
 * @类描述-Description: TODO
 * @修改记录:
 * @版本: 1.blogDataMapper
 */
@Service
public class BlogDataServiceImpl implements BlogDataService {

	@Autowired
	BlogDataMapper blogDataMapper;

	@Override
	public long countByExample(BlogDataExample example) {
		// TODO Auto-generated method stub
		return blogDataMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(BlogDataExample example) {
		// TODO Auto-generated method stub
		return blogDataMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String blogdataid) {
		// TODO Auto-generated method stub
		return blogDataMapper.deleteByPrimaryKey(blogdataid);
	}

	@Override
	public int insert(BlogData record) {
		// TODO Auto-generated method stub
		return blogDataMapper.insert(record);
	}

	@Override
	public int insertSelective(BlogData record) {
		// TODO Auto-generated method stub
		return blogDataMapper.insertSelective(record);
	}

	@Override
	public List<BlogData> selectByExample(BlogDataExample example) {
		// TODO Auto-generated method stub
		return blogDataMapper.selectByExample(example);
	}

	@Override
	public BlogData selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return blogDataMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(BlogData record, BlogDataExample example) {
		// TODO Auto-generated method stub
		return blogDataMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(BlogData record, BlogDataExample example) {
		// TODO Auto-generated method stub
		return blogDataMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(BlogData record) {
		// TODO Auto-generated method stub
		return blogDataMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(BlogData record) {
		// TODO Auto-generated method stub
		return blogDataMapper.updateByPrimaryKey(record);
	}

}
